﻿using System;
using System.Collections;
using ProjectDanmaku.Core;
using UnityEngine;
using UnityEngine.UI;

namespace ProjectDanmaku.UI
{
    public class ObjText : MonoBehaviour
    {
        private Text _text;
        private float _avgFrameTime = 0.01f;
        
        private void Awake()
        {
            _text = GetComponent<Text>();
        }

        private void Update()
        {
            _text.text = $"RE: {GlobalSharedData.RenderedEntityCount}";
        }
    }
}